from flask import Blueprint

from apps.model import Application
from apps.utils import Response

application = Blueprint('application', __name__)


@application.route('/list')
def get_application_list():
    Application.init_record()
    return Response.success(Application.all2dict())
